//
//  TDCarSourceModel.m
//  TBRentClient
//
//  Created by tonbright on 2018/6/21.
//  Copyright © 2018年 tonbright. All rights reserved.
//

#import "TDCarSourceModel.h"

@implementation TDCarSourceModel

@end

@implementation TDCarSourceListModel
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"materiallist" : [TDCarSourceEnumCarModel class]};
}
@end

@implementation TDCarSourceEnumCarModel

@end


@implementation TDCarSourceDetailModel
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"materiallist" : [TDCarSourceEnumCarModel class],@"schedulelist":[TDCarSourceCalendaShowModel class]};
}
@end
@implementation TDCarSourceCalendaShowModel

@end


@implementation TDCarSourceAllMessageModel

static TDCarSourceAllMessageModel *allMessageModel = nil;

+ (instancetype)shareAllMessageModel {
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        allMessageModel = [[TDCarSourceAllMessageModel alloc] init];
        
    });
    return allMessageModel;
    
}

- (void)resetCarSourceMessage {
    self.carsourceSelCarModel = [[TDChooseSelectedModel alloc] init];
    self.carsourceSelDateModel = [[TDDriveCarDatePickerSelModel alloc] init];
    self.carsourceSelStoreModel = [TDSearchStoreSelModel new];
}

@end
